home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
5_11.lha
/
5_11
/
5_11e.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
388b
|
16 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ included within treeval() DELETE
ase ASSIGN:
int val = treeval(head->left, variables);
variables->look(head->cvalue)->lvalue = val;
return val;
ase NAME:
return variables->look(head->cvalue)->lvalue;
ase SEMICOLON:
return 0;